package com.alliky.service;

import com.alliky.pojo.Users;
import com.alliky.pojo.bo.UsersBO;
import com.alliky.common.ServerResponse;

public interface IUserService {

    /**
     * 判断用户名是否存在
     */
     boolean queryUsernameIsExist(String username);
    /**
     * 创建用户
     */
    ServerResponse<Users> createUser(UsersBO usersBO);
    /**
     * 登录
     */
    ServerResponse<Users> login(String username,String password);

}
